﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OA.DBUtility;

namespace OA.Model
{
    [MappingTable("ProjectMilestone")]
    public class ProjectMilestoneInfo
    {
        #region Model
        private int _id;
        private string _projectid;
        private string _name;
        private DateTime? _milestonetime;
        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ProjectId")]
        public string ProjectId
        {
            set { _projectid = value; }
            get { return _projectid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("Name")]
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("MilestoneTime")]
        public DateTime? MilestoneTime
        {
            set { _milestonetime = value; }
            get { return _milestonetime; }
        }
        #endregion Model
    }
}
